home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / fixes / fix017 / zbuf-doc.patch < prev    next >
LaTeX Document  |  1994-08-09  |  5.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: zbuf-doc.patch

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
99% dexvert Texinfo Document (document/texInfo) magic Supported
1% dexvert IFF Binary Patch (other/iffBinaryPatch) ext Unsupported
1% dexvert SuperJAM! File (other/superJamFile) ext Unsupported
1% dexvert GPatch Patch (other/gPatchPatch) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file TeX document text default
99% file LaTeX document text default
98% file diff output, ASCII text default (weak)
100% TrID diff output text default (weak)
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 64 69 66 66 20 2d 63 20 | 44 6f 63 2f 47 75 69 64 |diff -c |Doc/Guid|
|00000010| 65 2f 63 61 6d 65 72 61 | 2e 74 65 78 20 44 6f 63 |e/camera|.tex Doc|
|00000020| 2f 47 75 69 64 65 2f 63 | 61 6d 65 72 61 2e 74 65 |/Guide/c|amera.te|
|00000030| 78 0a 2a 2a 2a 20 44 6f | 63 2f 47 75 69 64 65 2f |x.*** Do|c/Guide/|
|00000040| 63 61 6d 65 72 61 2e 74 | 65 78 09 54 75 65 20 4d |camera.t|ex.Tue M|
|00000050| 61 72 20 20 31 20 30 31 | 3a 34 32 3a 31 37 20 31 |ar 1 01|:42:17 1|
|00000060| 39 39 34 0a 2d 2d 2d 20 | 44 6f 63 2f 47 75 69 64 |994.--- |Doc/Guid|
|00000070| 65 2f 63 61 6d 65 72 61 | 2e 74 65 78 09 53 75 6e |e/camera|.tex.Sun|
|00000080| 20 46 65 62 20 20 39 20 | 32 32 3a 30 34 3a 30 33 | Feb 9 |22:04:03|
|00000090| 20 31 39 39 32 0a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | 1992.**|********|
|000000a0| 2a 2a 2a 2a 2a 0a 2a 2a | 2a 20 31 36 38 2c 31 39 |*****.**|* 168,19|
|000000b0| 36 20 2a 2a 2a 2a 0a 20 | 20 69 6e 20 6e 6f 20 73 |6 ****. | in no s|
|000000c0| 74 65 72 65 6f 20 65 66 | 66 65 63 74 0a 20 20 61 |tereo ef|fect. a|
|000000d0| 74 20 61 6c 6c 2e 20 20 | 41 20 73 65 70 61 72 61 |t all. |A separa|
|000000e0| 74 69 6f 6e 20 65 71 75 | 61 6c 20 74 6f 20 6f 6e |tion equ|al to on|
|000000f0| 65 20 74 65 6e 74 68 20 | 74 68 65 20 64 69 73 74 |e tenth |the dist|
|00000100| 61 6e 63 65 20 66 72 6f | 6d 20 74 68 65 0a 20 20 |ance fro|m the. |
|00000110| 63 61 6d 65 72 61 20 74 | 6f 20 74 68 65 20 6c 6f |camera t|o the lo|
|00000120| 6f 6b 20 70 6f 69 6e 74 | 20 69 73 20 6f 66 74 65 |ok point| is ofte|
|00000130| 6e 20 61 20 67 6f 6f 64 | 20 63 68 6f 69 63 65 2e |n a good| choice.|
|00000140| 0a 2d 20 0a 2d 20 49 66 | 20 79 6f 75 20 77 61 6e |.- .- If| you wan|
|00000150| 74 20 74 6f 20 67 65 6e | 65 72 61 74 65 20 73 74 |t to gen|erate st|
|00000160| 65 72 65 6f 20 70 61 69 | 72 73 20 77 69 74 68 20 |ereo pai|rs with |
|00000170| 70 61 72 61 6c 6c 65 6c | 20 6f 70 74 69 63 61 6c |parallel| optical|
|00000180| 20 61 78 65 73 20 74 68 | 69 73 20 6f 70 74 69 6f | axes th|is optio|
|00000190| 6e 0a 2d 20 77 69 6c 6c | 20 7b 5c 65 6d 20 6e 6f |n.- will| {\em no|
|000001a0| 74 7d 20 77 6f 72 6b 2c | 20 62 65 63 61 75 73 65 |t} work,| because|
|000001b0| 20 69 74 20 6f 6e 6c 79 | 20 61 66 66 65 63 74 73 | it only| affects|
|000001c0| 20 74 68 65 20 63 61 6d | 65 72 61 20 70 6f 73 69 | the cam|era posi|
|000001d0| 74 69 6f 6e 2e 20 20 49 | 6e 73 74 65 61 64 2c 0a |tion. I|nstead,.|
|000001e0| 2d 20 79 6f 75 20 6d 75 | 73 74 20 65 78 70 6c 69 |- you mu|st expli|
|000001f0| 63 69 74 6c 79 20 63 68 | 61 6e 67 65 20 62 6f 74 |citly ch|ange bot|
|00000200| 68 20 74 68 65 20 63 61 | 6d 65 72 61 0a 2d 20 70 |h the ca|mera.- p|
|00000210| 6f 73 69 74 69 6f 6e 20 | 28 7b 5c 74 74 20 65 79 |osition |({\tt ey|
|00000220| 65 70 7d 29 20 61 6e 64 | 20 74 68 65 20 6c 6f 6f |ep}) and| the loo|
|00000230| 6b 20 70 6f 69 6e 74 20 | 28 7b 5c 74 74 20 6c 6f |k point |({\tt lo|
|00000240| 6f 6b 70 7d 29 2e 20 20 | 4f 6e 65 20 77 61 79 20 |okp}). |One way |
|00000250| 74 6f 20 64 6f 20 74 68 | 69 73 0a 2d 20 69 73 20 |to do th|is.- is |
|00000260| 74 6f 20 69 6e 76 6f 6b | 65 20 74 68 65 20 43 20 |to invok|e the C |
|00000270| 70 72 65 70 72 6f 63 65 | 73 73 6f 72 20 69 6e 20 |preproce|ssor in |
|00000280| 74 68 65 20 73 6f 75 72 | 63 65 20 66 69 6c 65 2c |the sour|ce file,|
|00000290| 20 61 6e 64 20 75 73 65 | 20 74 68 65 20 7b 5c 74 | and use| the {\t|
|000002a0| 74 2d 50 7d 0a 2d 20 63 | 6f 6d 6d 61 6e 64 20 6c |t-P}.- c|ommand l|
|000002b0| 69 6e 65 20 6f 70 74 69 | 6f 6e 2c 20 65 2e 67 2e |ine opti|on, e.g.|
|000002c0| 3a 0a 2d 20 0a 2d 20 5c | 62 65 67 69 6e 7b 76 65 |:.- .- \|begin{ve|
|000002d0| 72 62 61 74 69 6d 7d 0a | 2d 20 20 20 20 20 23 69 |rbatim}.|- #i|
|000002e0| 66 6e 64 65 66 20 58 0a | 2d 20 20 20 20 20 23 64 |fndef X.|- #d|
|000002f0| 65 66 69 6e 65 20 58 20 | 30 0a 2d 20 20 20 20 20 |efine X |0.- |
|00000300| 23 65 6e 64 69 66 0a 2d | 20 0a 2d 20 20 20 20 20 |#endif.-| .- |
|00000310| 6c 6f 6f 6b 70 20 58 20 | 30 20 30 0a 2d 20 20 20 |lookp X |0 0.- |
|00000320| 20 20 65 79 65 70 20 58 | 20 2d 38 20 30 0a 2d 20 | eyep X| -8 0.- |
|00000330| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 2d |\end{ver|batim}.-|
|00000340| 20 0a 2d 20 5c 6e 6f 69 | 6e 64 65 6e 74 20 28 66 | .- \noi|ndent (f|
|00000350| 6f 6c 6c 6f 77 65 64 20 | 62 79 29 0a 2d 20 0a 2d |ollowed |by).- .-|
|00000360| 20 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d | \begin{|verbatim|
|00000370| 7d 0a 2d 20 20 20 20 20 | 72 61 79 73 68 61 64 65 |}.- |rayshade|
|00000380| 20 2d 50 20 2d 44 58 3d | 2e 35 0a 2d 20 20 20 20 | -P -DX=|.5.- |
|00000390| 20 72 61 79 73 68 61 64 | 65 20 2d 50 20 2d 44 58 | rayshad|e -P -DX|
|000003a0| 3d 2d 2e 35 0a 2d 20 5c | 65 6e 64 7b 76 65 72 62 |=-.5.- \|end{verb|
|000003b0| 61 74 69 6d 7d 0a 2d 20 | 0a 2d 20 49 66 20 79 6f |atim}.- |.- If yo|
|000003c0| 75 20 77 61 6e 74 20 74 | 6f 20 71 75 61 6e 74 69 |u want t|o quanti|
|000003d0| 66 79 20 74 68 65 20 64 | 69 73 74 61 6e 63 65 20 |fy the d|istance |
|000003e0| 74 6f 20 6f 62 6a 65 63 | 74 73 20 69 6e 20 74 68 |to objec|ts in th|
|000003f0| 65 20 73 63 65 6e 65 2c | 20 72 65 66 65 72 20 74 |e scene,| refer t|
|00000400| 6f 0a 2d 20 41 70 70 65 | 6e 64 69 78 20 44 20 66 |o.- Appe|ndix D f|
|00000410| 6f 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |or infor|mation a|
|00000420| 62 6f 75 74 20 67 65 6e | 65 72 61 74 69 6e 67 20 |bout gen|erating |
|00000430| 52 61 6e 67 65 20 4d 61 | 70 73 20 28 5a 20 62 75 |Range Ma|ps (Z bu|
|00000440| 66 66 65 72 20 6f 75 74 | 70 75 74 29 2e 0a 2d 2d |ffer out|put)..--|
|00000450| 2d 20 31 36 38 2c 31 37 | 30 20 2d 2d 2d 2d 0a 64 |- 168,17|0 ----.d|
|00000460| 69 66 66 20 2d 63 20 44 | 6f 63 2f 47 75 69 64 65 |iff -c D|oc/Guide|
|00000470| 2f 67 75 69 64 65 2e 74 | 65 78 20 44 6f 63 2f 47 |/guide.t|ex Doc/G|
|00000480| 75 69 64 65 2f 67 75 69 | 64 65 2e 74 65 78 0a 2a |uide/gui|de.tex.*|
|00000490| 2a 2a 20 44 6f 63 2f 47 | 75 69 64 65 2f 67 75 69 |** Doc/G|uide/gui|
|000004a0| 64 65 2e 74 65 78 09 54 | 75 65 20 4d 61 72 20 20 |de.tex.T|ue Mar |
|000004b0| 31 20 30 33 3a 30 30 3a | 31 35 20 31 39 39 34 0a |1 03:00:|15 1994.|
|000004c0| 2d 2d 2d 20 44 6f 63 2f | 47 75 69 64 65 2f 67 75 |--- Doc/|Guide/gu|
|000004d0| 69 64 65 2e 74 65 78 09 | 53 75 6e 20 46 65 62 20 |ide.tex.|Sun Feb |
|000004e0| 20 39 20 32 32 3a 30 33 | 3a 30 39 20 31 39 39 32 | 9 22:03|:09 1992|
|000004f0| 0a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.*******|********|
|00000500| 0a 2a 2a 2a 20 32 30 2c | 32 39 20 2a 2a 2a 2a 0a |.*** 20,|29 ****.|
|00000510| 20 20 5c 74 69 74 6c 65 | 7b 52 61 79 73 68 61 64 | \title|{Rayshad|
|00000520| 65 20 55 73 65 72 27 73 | 20 47 75 69 64 65 20 61 |e User's| Guide a|
|00000530| 6e 64 20 52 65 66 65 72 | 65 6e 63 65 20 4d 61 6e |nd Refer|ence Man|
|00000540| 75 61 6c 7d 0a 20 20 5c | 61 75 74 68 6f 72 7b 43 |ual}. \|author{C|
|00000550| 72 61 69 67 20 45 2e 20 | 4b 6f 6c 62 7d 0a 20 20 |raig E. |Kolb}. |
|00000560| 5c 64 61 74 65 7b 44 72 | 61 66 74 20 30 2e 34 20 |\date{Dr|aft 0.4 |
|00000570| 5c 5c 0a 21 20 4a 61 6e | 75 61 72 79 20 31 30 2c |\\.! Jan|uary 10,|
|00000580| 20 31 39 39 32 20 5c 5c | 0a 21 20 52 65 76 69 73 | 1992 \\|.! Revis|
|00000590| 65 64 20 46 65 62 72 75 | 61 72 79 20 32 38 2c 20 |ed Febru|ary 28, |
|000005a0| 31 39 39 34 5c 74 68 61 | 6e 6b 73 7b 41 64 64 69 |1994\tha|nks{Addi|
|000005b0| 74 69 6f 6e 61 6c 20 64 | 6f 63 75 6d 65 6e 74 61 |tional d|ocumenta|
|000005c0| 74 69 6f 6e 20 64 65 73 | 63 72 69 62 65 73 20 74 |tion des|cribes t|
|000005d0| 68 65 0a 21 20 52 61 6e | 67 65 20 4d 61 70 20 28 |he.! Ran|ge Map (|
|000005e0| 5a 20 42 75 66 66 65 72 | 29 20 65 78 74 65 6e 73 |Z Buffer|) extens|
|000005f0| 69 6f 6e 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |ion impl|emented |
|00000600| 61 74 20 43 61 72 6e 65 | 67 69 65 20 4d 65 6c 6c |at Carne|gie Mell|
|00000610| 6f 6e 20 62 79 20 4d 61 | 72 6b 0a 21 20 4d 61 69 |on by Ma|rk.! Mai|
|00000620| 6d 6f 6e 65 20 28 7b 5c | 74 74 20 6d 77 6d 40 63 |mone ({\|tt mwm@c|
|00000630| 6d 75 2e 65 64 75 7d 29 | 2e 7d 7d 0a 20 20 5c 62 |mu.edu})|.}}. \b|
|00000640| 65 67 69 6e 7b 64 6f 63 | 75 6d 65 6e 74 7d 0a 20 |egin{doc|ument}. |
|00000650| 20 5c 6d 61 6b 65 74 69 | 74 6c 65 0a 20 20 5c 70 | \maketi|tle. \p|
|00000660| 61 67 65 6e 75 6d 62 65 | 72 69 6e 67 7b 72 6f 6d |agenumbe|ring{rom|
|00000670| 61 6e 7d 0a 2d 2d 2d 20 | 32 30 2c 32 36 20 2d 2d |an}.--- |20,26 --|
|00000680| 2d 2d 0a 20 20 5c 74 69 | 74 6c 65 7b 52 61 79 73 |--. \ti|tle{Rays|
|00000690| 68 61 64 65 20 55 73 65 | 72 27 73 20 47 75 69 64 |hade Use|r's Guid|
|000006a0| 65 20 61 6e 64 20 52 65 | 66 65 72 65 6e 63 65 20 |e and Re|ference |
|000006b0| 4d 61 6e 75 61 6c 7d 0a | 20 20 5c 61 75 74 68 6f |Manual}.| \autho|
|000006c0| 72 7b 43 72 61 69 67 20 | 45 2e 20 4b 6f 6c 62 7d |r{Craig |E. Kolb}|
|000006d0| 0a 20 20 5c 64 61 74 65 | 7b 44 72 61 66 74 20 30 |. \date|{Draft 0|
|000006e0| 2e 34 20 5c 5c 0a 21 20 | 4a 61 6e 75 61 72 79 20 |.4 \\.! |January |
|000006f0| 31 30 2c 20 31 39 39 32 | 7d 0a 20 20 5c 62 65 67 |10, 1992|}. \beg|
|00000700| 69 6e 7b 64 6f 63 75 6d | 65 6e 74 7d 0a 20 20 5c |in{docum|ent}. \|
|00000710| 6d 61 6b 65 74 69 74 6c | 65 0a 20 20 5c 70 61 67 |maketitl|e. \pag|
|00000720| 65 6e 75 6d 62 65 72 69 | 6e 67 7b 72 6f 6d 61 6e |enumberi|ng{roman|
|00000730| 7d 0a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |}.******|********|
|00000740| 2a 0a 2a 2a 2a 20 34 33 | 2c 34 37 20 2a 2a 2a 2a |*.*** 43|,47 ****|
|00000750| 0a 20 20 5c 69 6e 70 75 | 74 7b 6f 70 74 69 6f 6e |. \inpu|t{option|
|00000760| 73 7d 0a 20 20 5c 69 6e | 70 75 74 7b 61 6e 69 6d |s}. \in|put{anim|
|00000770| 61 74 65 7d 0a 20 20 5c | 69 6e 70 75 74 7b 68 65 |ate}. \|input{he|
|00000780| 69 67 68 74 7d 0a 2d 20 | 5c 69 6e 70 75 74 7b 7a |ight}.- |\input{z|
|00000790| 62 75 66 7d 0a 20 20 5c | 65 6e 64 7b 64 6f 63 75 |buf}. \|end{docu|
|000007a0| 6d 65 6e 74 7d 0a 2d 2d | 2d 20 34 30 2c 34 33 20 |ment}.--|- 40,43 |
|000007b0| 2d 2d 2d 2d 0a 64 69 66 | 66 20 2d 63 20 44 6f 63 |----.dif|f -c Doc|
|000007c0| 2f 47 75 69 64 65 2f 6f | 62 6a 65 63 74 73 2e 74 |/Guide/o|bjects.t|
|000007d0| 65 78 20 44 6f 63 2f 47 | 75 69 64 65 2f 6f 62 6a |ex Doc/G|uide/obj|
|000007e0| 65 63 74 73 2e 74 65 78 | 0a 2a 2a 2a 20 44 6f 63 |ects.tex|.*** Doc|
|000007f0| 2f 47 75 69 64 65 2f 6f | 62 6a 65 63 74 73 2e 74 |/Guide/o|bjects.t|
|00000800| 65 78 09 54 75 65 20 4d | 61 72 20 20 31 20 30 31 |ex.Tue M|ar 1 01|
|00000810| 3a 32 39 3a 34 39 20 31 | 39 39 34 0a 2d 2d 2d 20 |:29:49 1|994.--- |
|00000820| 44 6f 63 2f 47 75 69 64 | 65 2f 6f 62 6a 65 63 74 |Doc/Guid|e/object|
|00000830| 73 2e 74 65 78 09 53 75 | 6e 20 46 65 62 20 20 39 |s.tex.Su|n Feb 9|
|00000840| 20 32 32 3a 30 34 3a 31 | 37 20 31 39 39 32 0a 2a | 22:04:1|7 1992.*|
|00000850| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 0a 2a |********|******.*|
|00000860| 2a 2a 20 31 35 30 2c 31 | 35 37 20 2a 2a 2a 2a 0a |** 150,1|57 ****.|
|00000870| 20 20 09 70 65 72 74 75 | 72 62 61 74 69 6f 6e 73 | .pertu|rbations|
|00000880| 20 6f 66 20 74 68 65 20 | 75 6e 69 74 20 73 71 75 | of the |unit squ|
|00000890| 61 72 65 20 69 6e 20 74 | 68 65 20 24 7a 3d 30 24 |are in t|he $z=0$|
|000008a0| 20 70 6c 61 6e 65 2c 20 | 61 6e 64 20 69 73 0a 20 | plane, |and is. |
|000008b0| 20 09 72 65 6e 64 65 72 | 65 64 20 61 73 20 61 20 | .render|ed as a |
|000008c0| 73 75 72 66 61 63 65 20 | 74 65 73 73 65 6c 6c 61 |surface |tessella|
|000008d0| 74 65 64 20 62 79 20 72 | 69 67 68 74 20 69 73 6f |ted by r|ight iso|
|000008e0| 73 63 65 6c 65 73 20 74 | 72 69 61 6e 67 6c 65 73 |sceles t|riangles|
|000008f0| 2e 0a 20 20 5c 65 6e 64 | 7b 64 65 66 70 72 69 6d |.. \end|{defprim|
|00000900| 7d 0a 21 20 53 65 65 20 | 41 70 70 65 6e 64 69 78 |}.! See |Appendix|
|00000910| 20 43 20 66 6f 72 20 61 | 20 64 69 73 63 75 73 73 | C for a| discuss|
|00000920| 69 6f 6e 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 61 |ion of t|he forma|
|00000930| 74 20 6f 66 20 61 20 68 | 65 69 67 68 74 20 66 69 |t of a h|eight fi|
|00000940| 65 6c 64 20 66 69 6c 65 | 2c 20 61 6e 64 0a 21 20 |eld file|, and.! |
|00000950| 73 65 65 20 41 70 70 65 | 6e 64 69 78 20 44 20 66 |see Appe|ndix D f|
|00000960| 6f 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |or infor|mation o|
|00000970| 6e 20 63 72 65 61 74 69 | 6e 67 20 68 65 69 67 68 |n creati|ng heigh|
|00000980| 74 66 69 65 6c 64 20 66 | 69 6c 65 73 20 75 73 69 |tfield f|iles usi|
|00000990| 6e 67 20 52 61 79 73 68 | 61 64 65 2e 0a 20 20 48 |ng Raysh|ade.. H|
|000009a0| 65 69 67 68 74 20 66 69 | 65 6c 64 20 69 6e 76 65 |eight fi|eld inve|
|000009b0| 72 73 65 20 6d 61 70 70 | 69 6e 67 20 69 73 20 73 |rse mapp|ing is s|
|000009c0| 74 72 61 69 67 68 74 2d | 66 6f 72 77 61 72 64 3a |traight-|forward:|
|000009d0| 20 20 24 75 24 20 69 73 | 20 74 68 65 0a 20 20 24 | $u$ is| the. $|
|000009e0| 78 24 20 63 6f 6f 72 64 | 69 6e 61 74 65 20 6f 66 |x$ coord|inate of|
|000009f0| 20 74 68 65 20 70 6f 69 | 6e 74 20 6f 66 20 69 6e | the poi|nt of in|
|00000a00| 74 65 72 73 65 63 74 69 | 6f 6e 2c 20 24 76 24 20 |tersecti|on, $v$ |
|00000a10| 74 68 65 20 24 79 24 20 | 63 6f 6f 72 64 69 6e 61 |the $y$ |coordina|
|00000a20| 74 65 2e 0a 20 20 0a 2d | 2d 2d 20 31 35 30 2c 31 |te.. .-|-- 150,1|
|00000a30| 35 36 20 2d 2d 2d 2d 0a | 20 20 09 70 65 72 74 75 |56 ----.| .pertu|
|00000a40| 72 62 61 74 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |rbations| of the |
|00000a50| 75 6e 69 74 20 73 71 75 | 61 72 65 20 69 6e 20 74 |unit squ|are in t|
|00000a60| 68 65 20 24 7a 3d 30 24 | 20 70 6c 61 6e 65 2c 20 |he $z=0$| plane, |
|00000a70| 61 6e 64 20 69 73 0a 20 | 20 09 72 65 6e 64 65 72 |and is. | .render|
|00000a80| 65 64 20 61 73 20 61 20 | 73 75 72 66 61 63 65 20 |ed as a |surface |
|00000a90| 74 65 73 73 65 6c 6c 61 | 74 65 64 20 62 79 20 72 |tessella|ted by r|
|00000aa0| 69 67 68 74 20 69 73 6f | 73 63 65 6c 65 73 20 74 |ight iso|sceles t|
|00000ab0| 72 69 61 6e 67 6c 65 73 | 2e 0a 20 20 5c 65 6e 64 |riangles|.. \end|
|00000ac0| 7b 64 65 66 70 72 69 6d | 7d 0a 21 20 53 65 65 20 |{defprim|}.! See |
|00000ad0| 41 70 70 65 6e 64 69 78 | 20 43 20 66 6f 72 20 61 |Appendix| C for a|
|00000ae0| 20 64 69 73 63 75 73 73 | 69 6f 6e 20 6f 66 20 74 | discuss|ion of t|
|00000af0| 68 65 20 66 6f 72 6d 61 | 74 20 6f 66 20 61 20 68 |he forma|t of a h|
|00000b00| 65 69 67 68 74 20 66 69 | 65 6c 64 20 66 69 6c 65 |eight fi|eld file|
|00000b10| 2e 0a 20 20 48 65 69 67 | 68 74 20 66 69 65 6c 64 |.. Heig|ht field|
|00000b20| 20 69 6e 76 65 72 73 65 | 20 6d 61 70 70 69 6e 67 | inverse| mapping|
|00000b30| 20 69 73 20 73 74 72 61 | 69 67 68 74 2d 66 6f 72 | is stra|ight-for|
|00000b40| 77 61 72 64 3a 20 20 24 | 75 24 20 69 73 20 74 68 |ward: $|u$ is th|
|00000b50| 65 0a 20 20 24 78 24 20 | 63 6f 6f 72 64 69 6e 61 |e. $x$ |coordina|
|00000b60| 74 65 20 6f 66 20 74 68 | 65 20 70 6f 69 6e 74 20 |te of th|e point |
|00000b70| 6f 66 20 69 6e 74 65 72 | 73 65 63 74 69 6f 6e 2c |of inter|section,|
|00000b80| 20 24 76 24 20 74 68 65 | 20 24 79 24 20 63 6f 6f | $v$ the| $y$ coo|
|00000b90| 72 64 69 6e 61 74 65 2e | 0a 20 20 0a 64 69 66 66 |rdinate.|. .diff|
|00000ba0| 20 2d 63 20 44 6f 63 2f | 47 75 69 64 65 2f 6f 70 | -c Doc/|Guide/op|
|00000bb0| 74 69 6f 6e 73 2e 74 65 | 78 20 44 6f 63 2f 47 75 |tions.te|x Doc/Gu|
|00000bc0| 69 64 65 2f 6f 70 74 69 | 6f 6e 73 2e 74 65 78 0a |ide/opti|ons.tex.|
|00000bd0| 2a 2a 2a 20 44 6f 63 2f | 47 75 69 64 65 2f 6f 70 |*** Doc/|Guide/op|
|00000be0| 74 69 6f 6e 73 2e 74 65 | 78 09 54 75 65 20 4d 61 |tions.te|x.Tue Ma|
|00000bf0| 72 20 20 31 20 30 33 3a | 31 37 3a 33 32 20 31 39 |r 1 03:|17:32 19|
|00000c00| 39 34 0a 2d 2d 2d 20 44 | 6f 63 2f 47 75 69 64 65 |94.--- D|oc/Guide|
|00000c10| 2f 6f 70 74 69 6f 6e 73 | 2e 74 65 78 09 53 75 6e |/options|.tex.Sun|
|00000c20| 20 46 65 62 20 20 39 20 | 32 32 3a 30 34 3a 30 33 | Feb 9 |22:04:03|
|00000c30| 20 31 39 39 32 0a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | 1992.**|********|
|00000c40| 2a 2a 2a 2a 2a 0a 2a 2a | 2a 20 32 31 38 2c 32 33 |*****.**|* 218,23|
|00000c50| 33 20 2a 2a 2a 2a 0a 20 | 20 54 68 69 73 20 6f 70 |3 ****. | This op|
|00000c60| 74 69 6f 6e 20 69 73 20 | 70 72 6f 76 69 64 65 64 |tion is |provided|
|00000c70| 20 74 6f 20 66 61 63 69 | 6c 69 74 61 74 65 20 63 | to faci|litate c|
|00000c80| 68 61 6e 67 69 6e 67 20 | 61 6e 64 2f 6f 72 20 65 |hanging |and/or e|
|00000c90| 78 61 6d 69 6e 69 6e 67 | 20 61 0a 20 20 73 6d 61 |xamining| a. sma|
|00000ca0| 6c 6c 20 70 6f 72 74 69 | 6f 6e 20 6f 66 20 61 6e |ll porti|on of an|
|00000cb0| 20 69 6d 61 67 65 20 77 | 69 74 68 6f 75 74 20 68 | image w|ithout h|
|00000cc0| 61 76 69 6e 67 20 74 6f | 20 72 65 2d 72 65 6e 64 |aving to| re-rend|
|00000cd0| 65 72 20 74 68 65 20 65 | 6e 74 69 72 65 0a 20 20 |er the e|ntire. |
|00000ce0| 69 6d 61 67 65 2e 0a 2d | 20 0a 2d 20 5c 62 65 67 |image..-| .- \beg|
|00000cf0| 69 6e 7b 64 65 66 6b 65 | 79 7d 7b 2d 7a 7d 7b 7b |in{defke|y}{-z}{{|
|00000d00| 5c 65 6d 20 66 69 6c 65 | 6e 61 6d 65 7d 7d 0a 2d |\em file|name}}.-|
|00000d10| 20 09 47 65 6e 65 72 61 | 74 65 20 61 20 52 61 6e | .Genera|te a Ran|
|00000d20| 67 65 20 4d 61 70 20 28 | 69 2e 65 2e 2c 20 5a 20 |ge Map (|i.e., Z |
|00000d30| 62 75 66 66 65 72 29 2e | 0a 2d 20 5c 65 6e 64 7b |buffer).|.- \end{|
|00000d40| 64 65 66 6b 65 79 7d 0a | 2d 20 54 68 69 73 20 6f |defkey}.|- This o|
|00000d50| 70 74 69 6f 6e 20 63 72 | 65 61 74 65 73 20 61 20 |ption cr|eates a |
|00000d60| 72 61 6e 67 65 20 69 6d | 61 67 65 2c 20 77 68 65 |range im|age, whe|
|00000d70| 72 65 20 70 69 78 65 6c | 20 76 61 6c 75 65 73 20 |re pixel| values |
|00000d80| 61 72 65 20 6e 6f 74 20 | 69 6e 74 65 6e 73 69 74 |are not |intensit|
|00000d90| 69 65 73 0a 2d 20 62 75 | 74 20 74 68 65 20 66 6c |ies.- bu|t the fl|
|00000da0| 6f 61 74 69 6e 67 20 70 | 6f 69 6e 74 20 7b 5c 65 |oating p|oint {\e|
|00000db0| 6d 20 64 69 73 74 61 6e | 63 65 7d 20 74 6f 20 74 |m distan|ce} to t|
|00000dc0| 68 65 20 6e 65 61 72 65 | 73 74 20 6f 62 6a 65 63 |he neare|st objec|
|00000dd0| 74 20 69 6d 61 67 65 64 | 20 61 74 0a 2d 20 74 68 |t imaged| at.- th|
|00000de0| 61 74 20 70 69 78 65 6c | 20 28 73 65 65 20 41 70 |at pixel| (see Ap|
|00000df0| 70 65 6e 64 69 78 20 44 | 20 66 6f 72 20 64 65 74 |pendix D| for det|
|00000e00| 61 69 6c 73 29 2e 20 20 | 54 68 72 65 65 20 6f 75 |ails). |Three ou|
|00000e10| 74 70 75 74 20 66 6f 72 | 6d 61 74 73 20 61 72 65 |tput for|mats are|
|00000e20| 0a 2d 20 61 76 61 69 6c | 61 62 6c 65 2c 20 75 73 |.- avail|able, us|
|00000e30| 65 20 74 68 65 20 66 69 | 6c 65 6e 61 6d 65 20 73 |e the fi|lename s|
|00000e40| 75 66 66 69 78 20 74 6f | 20 73 65 6c 65 63 74 20 |uffix to| select |
|00000e50| 69 74 3a 0a 2d 20 5c 62 | 65 67 69 6e 7b 74 61 62 |it:.- \b|egin{tab|
|00000e60| 75 6c 61 72 7d 7b 6c 6c | 7d 0a 2d 20 7b 5c 74 74 |ular}{ll|}.- {\tt|
|00000e70| 20 2e 68 66 7d 20 26 20 | 48 65 69 67 68 74 66 69 | .hf} & |Heightfi|
|00000e80| 65 6c 64 20 46 6f 72 6d | 61 74 20 28 64 65 66 61 |eld Form|at (defa|
|00000e90| 75 6c 74 29 20 5c 5c 0a | 2d 20 7b 5c 74 74 20 2e |ult) \\.|- {\tt .|
|00000ea0| 74 78 74 7d 20 26 20 54 | 65 78 74 20 46 6f 72 6d |txt} & T|ext Form|
|00000eb0| 61 74 20 5c 5c 0a 2d 20 | 7b 5c 74 74 20 2e 65 74 |at \\.- |{\tt .et|
|00000ec0| 78 74 7d 20 26 20 45 78 | 70 61 6e 64 65 64 20 54 |xt} & Ex|panded T|
|00000ed0| 65 78 74 20 46 6f 72 6d | 61 74 0a 2d 20 5c 65 6e |ext Form|at.- \en|
|00000ee0| 64 7b 74 61 62 75 6c 61 | 72 7d 0a 2d 2d 2d 20 32 |d{tabula|r}.--- 2|
|00000ef0| 31 38 2c 32 32 30 20 2d | 2d 2d 2d 0a 64 69 66 66 |18,220 -|---.diff|
|00000f00| 20 2d 63 20 44 6f 63 2f | 47 75 69 64 65 2f 72 75 | -c Doc/|Guide/ru|
|00000f10| 6e 6e 69 6e 67 2e 74 65 | 78 20 44 6f 63 2f 47 75 |nning.te|x Doc/Gu|
|00000f20| 69 64 65 2f 72 75 6e 6e | 69 6e 67 2e 74 65 78 0a |ide/runn|ing.tex.|
|00000f30| 2a 2a 2a 20 44 6f 63 2f | 47 75 69 64 65 2f 72 75 |*** Doc/|Guide/ru|
|00000f40| 6e 6e 69 6e 67 2e 74 65 | 78 09 54 75 65 20 4d 61 |nning.te|x.Tue Ma|
|00000f50| 72 20 20 31 20 30 31 3a | 31 32 3a 35 33 20 31 39 |r 1 01:|12:53 19|
|00000f60| 39 34 0a 2d 2d 2d 20 44 | 6f 63 2f 47 75 69 64 65 |94.--- D|oc/Guide|
|00000f70| 2f 72 75 6e 6e 69 6e 67 | 2e 74 65 78 09 53 75 6e |/running|.tex.Sun|
|00000f80| 20 46 65 62 20 20 39 20 | 32 32 3a 30 34 3a 31 35 | Feb 9 |22:04:15|
|00000f90| 20 31 39 39 32 0a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | 1992.**|********|
|00000fa0| 2a 2a 2a 2a 2a 0a 2a 2a | 2a 20 35 2c 31 32 20 2a |*****.**|* 5,12 *|
|00000fb0| 2a 2a 2a 0a 20 20 74 69 | 6d 65 20 72 65 71 75 69 |***. ti|me requi|
|00000fc0| 72 65 64 20 69 73 20 61 | 20 66 75 6e 63 74 69 6f |red is a| functio|
|00000fd0| 6e 20 6f 66 20 74 68 65 | 20 73 70 65 65 64 20 6f |n of the| speed o|
|00000fe0| 66 20 74 68 65 0a 20 20 | 6d 61 63 68 69 6e 65 28 |f the. |machine(|
|00000ff0| 73 29 20 6f 6e 20 77 68 | 69 63 68 0a 20 20 79 6f |s) on wh|ich. yo|
|00001000| 75 27 72 65 20 77 6f 72 | 6b 69 6e 67 2c 20 74 68 |u're wor|king, th|
|00001010| 65 20 63 6f 6d 70 6c 65 | 78 69 74 79 20 6f 66 20 |e comple|xity of |
|00001020| 74 68 65 20 73 63 65 6e | 65 2c 20 61 6e 64 20 68 |the scen|e, and h|
|00001030| 6f 77 20 60 60 67 6f 6f | 64 27 27 20 79 6f 75 20 |ow ``goo|d'' you |
|00001040| 77 61 6e 74 0a 21 20 74 | 68 65 20 66 69 6e 61 6c |want.! t|he final|
|00001050| 20 69 6d 61 67 65 20 74 | 6f 20 62 65 2e 20 20 25 | image t|o be. %|
|00001060| 20 5c 66 6f 6f 74 6e 6f | 74 65 7b 41 70 70 65 6e | \footno|te{Appen|
|00001070| 64 69 78 20 44 20 64 65 | 73 63 72 69 62 65 73 20 |dix D de|scribes |
|00001080| 73 6f 6d 65 20 73 69 6d | 70 6c 65 0a 21 20 25 20 |some sim|ple.! % |
|00001090| 77 61 79 73 20 74 6f 20 | 61 63 63 65 6c 65 72 61 |ways to |accelera|
|000010a0| 74 65 20 74 68 65 20 72 | 65 6e 64 65 72 69 6e 67 |te the r|endering|
|000010b0| 20 70 72 6f 63 65 73 73 | 2e 7d 20 2d 2d 20 4e 4f | process|.} -- NO|
|000010c0| 4e 45 58 49 53 54 41 4e | 54 21 21 20 28 6d 77 6d |NEXISTAN|T!! (mwm|
|000010d0| 29 0a 20 20 0a 20 20 43 | 72 65 61 74 69 6e 67 20 |). . C|reating |
|000010e0| 61 20 66 69 6e 69 73 68 | 65 64 20 72 61 79 2d 74 |a finish|ed ray-t|
|000010f0| 72 61 63 65 64 20 69 6d | 61 67 65 20 69 73 20 61 |raced im|age is a|
|00001100| 6e 20 69 74 65 72 61 74 | 69 76 65 20 70 72 6f 63 |n iterat|ive proc|
|00001110| 65 73 73 2e 20 20 55 73 | 75 61 6c 6c 79 2c 20 6d |ess. Us|ually, m|
|00001120| 61 6e 79 0a 20 20 74 65 | 73 74 20 72 65 6e 64 65 |any. te|st rende|
|00001130| 72 69 6e 67 73 20 61 72 | 65 20 6d 61 64 65 20 61 |rings ar|e made a|
|00001140| 74 20 6c 6f 77 20 72 65 | 73 6f 6c 75 74 69 6f 6e |t low re|solution|
|00001150| 20 61 6e 64 20 77 69 74 | 68 0a 2d 2d 2d 20 35 2c | and wit|h.--- 5,|
|00001160| 31 32 20 2d 2d 2d 2d 0a | 20 20 74 69 6d 65 20 72 |12 ----.| time r|
|00001170| 65 71 75 69 72 65 64 20 | 69 73 20 61 20 66 75 6e |equired |is a fun|
|00001180| 63 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 73 70 65 |ction of| the spe|
|00001190| 65 64 20 6f 66 20 74 68 | 65 0a 20 20 6d 61 63 68 |ed of th|e. mach|
|000011a0| 69 6e 65 28 73 29 20 6f | 6e 20 77 68 69 63 68 0a |ine(s) o|n which.|
|000011b0| 20 20 79 6f 75 27 72 65 | 20 77 6f 72 6b 69 6e 67 | you're| working|
|000011c0| 2c 20 74 68 65 20 63 6f | 6d 70 6c 65 78 69 74 79 |, the co|mplexity|
|000011d0| 20 6f 66 20 74 68 65 20 | 73 63 65 6e 65 2c 20 61 | of the |scene, a|
|000011e0| 6e 64 20 68 6f 77 20 60 | 60 67 6f 6f 64 27 27 20 |nd how `|`good'' |
|000011f0| 79 6f 75 20 77 61 6e 74 | 0a 21 20 74 68 65 20 66 |you want|.! the f|
|00001200| 69 6e 61 6c 20 69 6d 61 | 67 65 20 74 6f 20 62 65 |inal ima|ge to be|
|00001210| 2e 20 20 5c 66 6f 6f 74 | 6e 6f 74 65 7b 41 70 70 |. \foot|note{App|
|00001220| 65 6e 64 69 78 20 44 20 | 64 65 73 63 72 69 62 65 |endix D |describe|
|00001230| 73 20 73 6f 6d 65 20 73 | 69 6d 70 6c 65 0a 21 20 |s some s|imple.! |
|00001240| 77 61 79 73 20 74 6f 20 | 61 63 63 65 6c 65 72 61 |ways to |accelera|
|00001250| 74 65 20 74 68 65 20 72 | 65 6e 64 65 72 69 6e 67 |te the r|endering|
|00001260| 20 70 72 6f 63 65 73 73 | 2e 7d 0a 20 20 0a 20 20 | process|.}. . |
|00001270| 43 72 65 61 74 69 6e 67 | 20 61 20 66 69 6e 69 73 |Creating| a finis|
|00001280| 68 65 64 20 72 61 79 2d | 74 72 61 63 65 64 20 69 |hed ray-|traced i|
|00001290| 6d 61 67 65 20 69 73 20 | 61 6e 20 69 74 65 72 61 |mage is |an itera|
|000012a0| 74 69 76 65 20 70 72 6f | 63 65 73 73 2e 20 20 55 |tive pro|cess. U|
|000012b0| 73 75 61 6c 6c 79 2c 20 | 6d 61 6e 79 0a 20 20 74 |sually, |many. t|
|000012c0| 65 73 74 20 72 65 6e 64 | 65 72 69 6e 67 73 20 61 |est rend|erings a|
|000012d0| 72 65 20 6d 61 64 65 20 | 61 74 20 6c 6f 77 20 72 |re made |at low r|
|000012e0| 65 73 6f 6c 75 74 69 6f | 6e 20 61 6e 64 20 77 69 |esolutio|n and wi|
|000012f0| 74 68 0a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |th.*****|********|
|00001300| 2a 2a 0a 2a 2a 2a 20 31 | 38 30 2c 31 38 38 20 2a |**.*** 1|80,188 *|
|00001310| 2a 2a 2a 0a 20 20 7b 5c | 65 6d 20 52 69 67 68 74 |***. {\|em Right|
|00001320| 7d 20 61 6e 64 20 7b 5c | 65 6d 20 74 6f 70 7d 20 |} and {\|em top} |
|00001330| 6d 75 73 74 20 62 65 20 | 6c 65 73 73 20 74 68 61 |must be |less tha|
|00001340| 6e 20 6f 72 20 65 71 75 | 61 6c 20 74 6f 20 6f 6e |n or equ|al to on|
|00001350| 65 2e 0a 20 20 49 66 20 | 7b 5c 65 6d 20 6c 65 66 |e.. If |{\em lef|
|00001360| 74 7d 20 69 73 20 67 72 | 65 61 74 65 72 20 74 68 |t} is gr|eater th|
|00001370| 61 6e 20 7b 5c 65 6d 20 | 72 69 67 68 74 7d 2c 20 |an {\em |right}, |
|00001380| 74 68 65 20 74 77 6f 20 | 76 61 6c 75 65 73 20 61 |the two |values a|
|00001390| 72 65 0a 20 20 73 77 61 | 70 70 65 64 2c 20 61 6e |re. swa|pped, an|
|000013a0| 64 20 73 69 6d 69 6c 61 | 72 6c 79 20 66 6f 72 20 |d simila|rly for |
|000013b0| 7b 5c 65 6d 20 62 6f 74 | 74 6f 6d 7d 20 61 6e 64 |{\em bot|tom} and|
|000013c0| 20 7b 5c 65 6d 20 74 6f | 70 7d 2e 0a 2d 20 0a 2d | {\em to|p}..- .-|
|000013d0| 20 54 68 65 20 52 61 6e | 67 65 20 4d 61 70 20 6f | The Ran|ge Map o|
|000013e0| 72 20 7b 5c 65 6d 20 5a | 20 42 75 66 66 65 72 7d |r {\em Z| Buffer}|
|000013f0| 20 6f 75 74 70 75 74 20 | 66 69 6c 65 20 28 73 65 | output |file (se|
|00001400| 65 20 41 70 70 65 6e 64 | 69 78 20 44 29 20 77 69 |e Append|ix D) wi|
|00001410| 6c 6c 20 61 6c 73 6f 20 | 6f 62 65 79 0a 2d 20 74 |ll also |obey.- t|
|00001420| 68 65 20 7b 5c 74 74 20 | 73 63 72 65 65 6e 7d 2c |he {\tt |screen},|
|00001430| 20 7b 5c 74 74 20 77 69 | 6e 64 6f 77 7d 20 61 6e | {\tt wi|ndow} an|
|00001440| 64 20 7b 5c 74 74 20 63 | 72 6f 70 7d 20 63 6f 6d |d {\tt c|rop} com|
|00001450| 6d 61 6e 64 73 2e 20 20 | 0a 20 20 0a 20 20 7b 5c |mands. |. . {\|
|00001460| 65 6d 20 47 61 6d 6d 61 | 20 63 6f 72 72 65 63 74 |em Gamma| correct|
|00001470| 69 6f 6e 7d 20 6d 61 79 | 20 61 6c 73 6f 20 62 65 |ion} may| also be|
|00001480| 20 61 70 70 6c 69 65 64 | 20 74 6f 20 74 68 65 20 | applied| to the |
|00001490| 74 68 72 65 65 20 6f 75 | 74 70 75 74 20 63 6f 6c |three ou|tput col|
|000014a0| 6f 72 0a 20 20 63 68 61 | 6e 6e 65 6c 73 2e 20 20 |or. cha|nnels. |
|000014b0| 53 65 65 20 41 70 70 65 | 6e 64 69 78 20 41 20 66 |See Appe|ndix A f|
|000014c0| 6f 72 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 73 2e |or more |details.|
|000014d0| 0a 2d 2d 2d 20 31 38 30 | 2c 31 38 35 20 2d 2d 2d |.--- 180|,185 ---|
|000014e0| 2d 0a | |-. | |
+--------+-------------------------+-------------------------+--------+--------+